package com.a2j.web.car.service;

import com.a2j.beans.base.BaseBean;
import com.a2j.beans.car.CarSpecification;

import java.util.List;

/**
 * Author: bzb
 * Data: 2021/10/29 17:46
 * Desc: 车规
 */
public interface CarSpecService {

    // 根据主键删除车规
    void deleteCarSpec(Integer id);

    // 新增车规
    void addCarSpec(CarSpecification record);

    // 修改车规
    void updateCarSpec(CarSpecification record);

    // 开关
    void enable(Integer id, Integer enable);

    // 车规详情
    BaseBean<CarSpecification> getCarSpecDetail(Integer id);

    // 所有车规
    BaseBean<List<CarSpecification>> getAllCarSpecs();
}
